<?php
/*
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
*/
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'get';
exi('','','core/member.home/');
cfc('core')->checklogin();
$return=array();

$return['item']=pdo_get('core_members',array('id'=>$_SESSION['uid'],'uniacid'=>$_SESSION['uniacid']),array('credit1','credit2','mobile','groupid','avatar','nickname'));
if(!$return['item']){
	exi('找不到会员信息！','error');
}
if($return['item']['groupid']){
	$return['item']['group']=pdo_getcolumn('core_member_groups',array('id'=>$return['item']['groupid'],'uniacid'=>$_SESSION['uniacid']),'title');
}else{
	$return['item']['group']='普通会员';
}
$return['setting']=uni_setting('member_setting');
set_html('title','会员中心');
exi($return);